import 'package:json_annotation/json_annotation.dart';

part 'cacheConfig.g.dart';

@JsonSerializable()
class CacheConfig {
  CacheConfig();

  late bool enable;
  late num maxAge;
  late num maxCount;
  
  factory CacheConfig.fromJson(Map<String,dynamic> json) => _$CacheConfigFromJson(json);
  Map<String, dynamic> toJson() => _$CacheConfigToJson(this);
}
